package com.wicket.okrapp.web.contorller;

import com.github.pagehelper.Page;
import com.wicket.okrapp.biz.service.EvaSystemService;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.ro.OkrResult;
import com.wicket.okrapp.common.util.CommonFunctionHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@RestController
@RequestMapping("/app/evaSystem/")
public class EvaSystemController {

  @Autowired
  EvaSystemService evaSystemService;
/**
   * D3-3查我任务及观测点列表(边界)
   */
    @PostMapping("queryMyTaskPostViewPointListBorder")
    public OkrResult<QueryMyTaskPostViewPointListBorderRespDto> queryMyTaskPostViewPointListBorder(@RequestBody @Validated QueryMyTaskPostViewPointListBorderReqDto reqDTO){
        // TODO: 2023/4/10 下面的注释代码千万不要合
//    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryMyTaskPostViewPointListBorderRespDto retData = evaSystemService.queryMyTaskPostViewPointListBorder(reqDTO);

        // TODO: 2023/4/10 下面的注释代码千万不要合
//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3-3查我的部门观测点列表(边界)
   */
    @PostMapping("queryMyDeptViewPointListBorder")
    public OkrResult<QueryMyDeptViewPointListBorderRespDto> queryMyDeptViewPointListBorder(@RequestBody @Validated QueryMyDeptViewPointListBorderReqDto reqDTO){
// TODO: 2023/4/10 下面的注释代码千万不要合
        //    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryMyDeptViewPointListBorderRespDto retData = evaSystemService.queryMyDeptViewPointListBorder(reqDTO);

// TODO: 2023/4/10 下面的注释代码千万不要合

//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3-3查中高层建设任务列表(边界)
   */
    @PostMapping("queryMidTopPlanConstrTaskListBorder")
    public OkrResult<QueryMidTopPlanConstrTaskListBorderRespDto> queryMidTopPlanConstrTaskListBorder(@RequestBody @Validated QueryMidTopPlanConstrTaskListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryMidTopPlanConstrTaskListBorderRespDto retData = evaSystemService.queryMidTopPlanConstrTaskListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3-3查我下属或其他观测点列表(边界)
   */
    @PostMapping("queryMySubordinatePostViewPointListBorder")
    public OkrResult<QueryMySubordinatePostViewPointListBorderRespDto> queryMySubordinatePostViewPointListBorder(@RequestBody @Validated QueryMySubordinatePostViewPointListBorderReqDto reqDTO){
// TODO: 2023/4/10 下面的注释代码千万不要合
        //    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryMySubordinatePostViewPointListBorderRespDto retData = evaSystemService.queryMySubordinatePostViewPointListBorder(reqDTO);
// TODO: 2023/4/10 下面的注释代码千万不要合

//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }


    /**
   * D3-2查询评价主题管理权限列表
   */
    @PostMapping("queryEvaThemeMgtPowerList")
    public OkrResult<QueryEvaThemeMgtPowerListRespDto> queryEvaThemeMgtPowerList(@RequestBody @Validated QueryEvaThemeMgtPowerListReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryEvaThemeMgtPowerListRespDto retData = evaSystemService.queryEvaThemeMgtPowerList(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
    /**
   * D3-3查规划目标周期导航列表(边界)
   */
    @PostMapping("queryPlanTargetCycleMenuListBorder")
    public OkrResult<QueryPlanTargetCycleMenuListBorderRespDto> queryPlanTargetCycleMenuListBorder(@RequestBody @Validated QueryPlanTargetCycleMenuListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryPlanTargetCycleMenuListBorderRespDto retData = evaSystemService.queryPlanTargetCycleMenuListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
    /**
   * D3-3查中层规划目标周期导航列表(边界)
   */
    @PostMapping("queryMidPlanTargetCycleMenuListBorder")
    public OkrResult<QueryMidPlanTargetCycleMenuListBorderRespDto> queryMidPlanTargetCycleMenuListBorder(@RequestBody @Validated QueryMidPlanTargetCycleMenuListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryMidPlanTargetCycleMenuListBorderRespDto retData = evaSystemService.queryMidPlanTargetCycleMenuListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
    /**
   * D3-3查基层规划目标周期导航列表(边界)
   */
    @PostMapping("queryGrassrootsObjMenuListBorder")
    public OkrResult<QueryGrassrootsObjMenuListBorderRespDto> queryGrassrootsObjMenuListBorder(@RequestBody @Validated QueryGrassrootsObjMenuListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryGrassrootsObjMenuListBorderRespDto retData = evaSystemService.queryGrassrootsObjMenuListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
    /**
   * D3-3查基础部门规划目标周期导航列表(边界)
   */
    @PostMapping("queryGrassRootsDeptObjMenuListBorder")
    public OkrResult<QueryGrassRootsDeptObjMenuListBorderRespDto> queryGrassRootsDeptObjMenuListBorder(@RequestBody @Validated QueryGrassRootsDeptObjMenuListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryGrassRootsDeptObjMenuListBorderRespDto retData = evaSystemService.queryGrassRootsDeptObjMenuListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
 /**
   * D3-3查高层切换部门菜单列表
   */
    @PostMapping("queryTopPlanSwitchDeptMenuList")
    public OkrResult<QueryTopPlanSwitchDeptMenuListRespDto> queryTopPlanSwitchDeptMenuList(@RequestBody @Validated QueryTopPlanSwitchDeptMenuListReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryTopPlanSwitchDeptMenuListRespDto retData = evaSystemService.queryTopPlanSwitchDeptMenuList(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }

    /**
   * D3-3查建设任务详情(边界)
   */
    @PostMapping("queryConstructionTaskDetailBorder")
    public OkrResult<QueryConstructionTaskDetailBorderRespDto> queryConstructionTaskDetailBorder(@RequestBody @Validated QueryConstructionTaskDetailBorderReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryConstructionTaskDetailBorder(reqDTO));
    }
    /**
   * D3-3查有目标的下属或其他列表(边界)
   */
    @PostMapping("queryHaveTargetMySubordinateListBorder")
    public OkrResult<QueryHaveTargetMySubordinateListBorderRespDto> queryHaveTargetMySubordinateListBorder(@RequestBody @Validated QueryHaveTargetMySubordinateListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryHaveTargetMySubordinateListBorderRespDto retData = evaSystemService.queryHaveTargetMySubordinateListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
    /**
   * D3-3查下属或其他目标周期导航列表(边界)
   */
    @PostMapping("querySubordinateTargetCycleMenuListBorder")
    public OkrResult<QuerySubordinateTargetCycleMenuListBorderRespDto> querySubordinateTargetCycleMenuListBorder(@RequestBody @Validated QuerySubordinateTargetCycleMenuListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QuerySubordinateTargetCycleMenuListBorderRespDto retData = evaSystemService.querySubordinateTargetCycleMenuListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3构建部门目标任务书上下级(公共)
   */
    @PostMapping("structureDeptObjMisStaUpDownCom")
    public OkrResult<StructureDeptObjMisStaUpDownComRespDto> structureDeptObjMisStaUpDownCom(@RequestBody @Validated StructureDeptObjMisStaUpDownComReqDto reqDTO){
    return OkrResult.success(evaSystemService.structureDeptObjMisStaUpDownCom(reqDTO));
    }
/**
   * D3-3判断高层切换第三步操作条件(公共)
   */
    @PostMapping("judgeTopHandoverThreeStepCom")
    public OkrResult<JudgeTopHandoverThreeStepComRespDto> judgeTopHandoverThreeStepCom(@RequestBody @Validated JudgeTopHandoverThreeStepComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeTopHandoverThreeStepCom(reqDTO));
    }
/**
   * D3-3判断下发部门目标任务书操作条件(公共)
   */
    @PostMapping("judgeDeptObjMisStaCom")
    public OkrResult<JudgeDeptObjMisStaComRespDto> judgeDeptObjMisStaCom(@RequestBody @Validated JudgeDeptObjMisStaComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeDeptObjMisStaCom(reqDTO));
    }
/**
   * D3-3高层下发部门目标任务书
   */
    @PostMapping("batchIssuedDeptObjMisSta")
    public OkrResult<BatchIssuedDeptObjMisStaRespDto> batchIssuedDeptObjMisSta(@RequestBody @Validated BatchIssuedDeptObjMisStaReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchIssuedDeptObjMisSta(reqDTO));
    }
/**
   * D3-3查高层建设任务列表(管理)
   */
    @PostMapping("queryTopPlanConstructionTaskList")
    public OkrResult<QueryTopPlanConstructionTaskListRespDto> queryTopPlanConstructionTaskList(@RequestBody @Validated QueryTopPlanConstructionTaskListReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryTopPlanConstructionTaskListRespDto retData = evaSystemService.queryTopPlanConstructionTaskList(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3-判断基层设置完成操作条件(公共)
   */
    @PostMapping("judgeBasicSetAchieveOperationCom")
    public OkrResult<JudgeBasicSetAchieveOperationComRespDto> judgeBasicSetAchieveOperationCom(@RequestBody @Validated JudgeBasicSetAchieveOperationComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeBasicSetAchieveOperationCom(reqDTO));
    }
/**
   * D3-3查目标分工详情(管理)
   */
    @PostMapping("queryObjDivisionLaborDetail")
    public OkrResult<QueryObjDivisionLaborDetailRespDto> queryObjDivisionLaborDetail(@RequestBody @Validated QueryObjDivisionLaborDetailReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryObjDivisionLaborDetail(reqDTO));
    }
/**
   * D3-3查设置建设任务详情(管理)
   */
    @PostMapping("querySetConstructionTaskDetail")
    public OkrResult<QuerySetConstructionTaskDetailRespDto> querySetConstructionTaskDetail(@RequestBody @Validated QuerySetConstructionTaskDetailReqDto reqDTO){
    return OkrResult.success(evaSystemService.querySetConstructionTaskDetail(reqDTO));
    }
/**
   * D3-3批量查目标分工进展(边界)
   */
    @PostMapping("batchQueryObjScheduleBorder")
    public OkrResult<BatchQueryObjScheduleBorderRespDto> batchQueryObjScheduleBorder(@RequestBody @Validated BatchQueryObjScheduleBorderReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchQueryObjScheduleBorder(reqDTO));
    }
/**
   * D3-3判断中层执行目标下发操作条件(公共)
   */
    @PostMapping("judgeMidPerformTargetCom")
    public OkrResult<JudgeMidPerformTargetComRespDto> judgeMidPerformTargetCom(@RequestBody @Validated JudgeMidPerformTargetComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidPerformTargetCom(reqDTO));
    }
/**
   * D3-3判断下发中层牵头目标操作条件(公共)
   */
    @PostMapping("judgeMidLeadTargetCom")
    public OkrResult<JudgeMidLeadTargetComRespDto> judgeMidLeadTargetCom(@RequestBody @Validated JudgeMidLeadTargetComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidLeadTargetCom(reqDTO));
    }
/**
   * D3-3下发中层执行目标
   */
    @PostMapping("batchIssuedMidPerformTarget")
    public OkrResult<BatchIssuedMidPerformTargetRespDto> batchIssuedMidPerformTarget(@RequestBody @Validated BatchIssuedMidPerformTargetReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchIssuedMidPerformTarget(reqDTO));
    }
/**
   * D3-3下发中层牵头目标
   */
    @PostMapping("batchIssuedMidLeadTarget")
    public OkrResult<BatchIssuedMidLeadTargetRespDto> batchIssuedMidLeadTarget(@RequestBody @Validated BatchIssuedMidLeadTargetReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchIssuedMidLeadTarget(reqDTO));
    }
/**
   * D3查询当前部门被评对象目标周期详情(公共)
   */
    @PostMapping("queryCurrentDeptEvaObjTargetCycleDetailCom")
    public OkrResult<QueryCurrentDeptEvaObjTargetCycleDetailComRespDto> queryCurrentDeptEvaObjTargetCycleDetailCom(@RequestBody @Validated QueryCurrentDeptEvaObjTargetCycleDetailComReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryCurrentDeptEvaObjTargetCycleDetailCom(reqDTO));
    }
/**
   * D3判断中层设置完成操作条件(公共)
   */
    @PostMapping("judgeMidSetAchieveOperationCom")
    public OkrResult<JudgeMidSetAchieveOperationComRespDto> judgeMidSetAchieveOperationCom(@RequestBody @Validated JudgeMidSetAchieveOperationComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidSetAchieveOperationCom(reqDTO));
    }
/**
   * D3-3判断基层执行目标下发操作条件(公共)
   */
    @PostMapping("judgeGrootsPerformTargetCom")
    public OkrResult<JudgeGrootsPerformTargetComRespDto> judgeGrootsPerformTargetCom(@RequestBody @Validated JudgeGrootsPerformTargetComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeGrootsPerformTargetCom(reqDTO));
    }
/**
   * D3-3下发基层执行目标
   */
    @PostMapping("batchIssuedGrootsPerformTarget")
    public OkrResult<BatchIssuedGrootsPerformTargetRespDto> batchIssuedGrootsPerformTarget(@RequestBody @Validated BatchIssuedGrootsPerformTargetReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchIssuedGrootsPerformTarget(reqDTO));
    }
/**
   * D3执行分析中层步骤房间(公共)
   */
    @PostMapping("implementAnalysisMidStepRoomCom")
    public OkrResult<ImplementAnalysisMidStepRoomComRespDto> implementAnalysisMidStepRoomCom(@RequestBody @Validated ImplementAnalysisMidStepRoomComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementAnalysisMidStepRoomCom(reqDTO));
    }
/**
   * D3执行导向步骤房间(公共)
   */
    @PostMapping("implementGuideStepRoomCom")
    public OkrResult<ImplementGuideStepRoomComRespDto> implementGuideStepRoomCom(@RequestBody @Validated ImplementGuideStepRoomComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementGuideStepRoomCom(reqDTO));
    }
/**
   * D3执行变量房间删除检查项等(公共)
   */
    @PostMapping("implementVariableRoomDeleteCheckItemsCom")
    public OkrResult<ImplementVariableRoomDeleteCheckItemsComRespDto> implementVariableRoomDeleteCheckItemsCom(@RequestBody @Validated ImplementVariableRoomDeleteCheckItemsComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementVariableRoomDeleteCheckItemsCom(reqDTO));
    }
/**
   * D3执行分析下发指标牵头部门(公共)
   */
    @PostMapping("implementAnalysisLssuedTargetLeadDeptCom")
    public OkrResult<ImplementAnalysisLssuedTargetLeadDeptComRespDto> implementAnalysisLssuedTargetLeadDeptCom(@RequestBody @Validated ImplementAnalysisLssuedTargetLeadDeptComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementAnalysisLssuedTargetLeadDeptCom(reqDTO));
    }
/**
   * D3-3判断中层修改安排
   */
    @PostMapping("judgeMidAmendArrange")
    public OkrResult<JudgeMidAmendArrangeRespDto> judgeMidAmendArrange(@RequestBody @Validated JudgeMidAmendArrangeReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidAmendArrange(reqDTO));
    }
/**
   * D3-3判断基层修改安排
   */
    @PostMapping("judgeBasicAmendArrange")
    public OkrResult<JudgeBasicAmendArrangeRespDto> judgeBasicAmendArrange(@RequestBody @Validated JudgeBasicAmendArrangeReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeBasicAmendArrange(reqDTO));
    }
/**
   * D3-3判断高层重新编辑
   */
    @PostMapping("judgeTopAnewEdit")
    public OkrResult<JudgeTopAnewEditRespDto> judgeTopAnewEdit(@RequestBody @Validated JudgeTopAnewEditReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeTopAnewEdit(reqDTO));
    }
/**
   * D3-3判断中层第1步牵头目标安排
   */
    @PostMapping("judgeMidFirstLeadTargetArrange")
    public OkrResult<JudgeMidFirstLeadTargetArrangeRespDto> judgeMidFirstLeadTargetArrange(@RequestBody @Validated JudgeMidFirstLeadTargetArrangeReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidFirstLeadTargetArrange(reqDTO));
    }
/**
   * D3-3判断中层第2步执行目标安排
   */
    @PostMapping("judgeMidSecExTargetArrange")
    public OkrResult<JudgeMidSecExTargetArrangeRespDto> judgeMidSecExTargetArrange(@RequestBody @Validated JudgeMidSecExTargetArrangeReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeMidSecExTargetArrange(reqDTO));
    }
/**
   * D3-3判断基层第1步执行目标安排
   */
    @PostMapping("judgeBasicFirstLeadTargetArrange")
    public OkrResult<JudgeBasicFirstLeadTargetArrangeRespDto> judgeBasicFirstLeadTargetArrange(@RequestBody @Validated JudgeBasicFirstLeadTargetArrangeReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeBasicFirstLeadTargetArrange(reqDTO));
    }
/**
   * D3判断部门的树类型(公共)
   */
    @PostMapping("judgeDeptTreeTypeCom")
    public OkrResult<JudgeDeptTreeTypeComRespDto> judgeDeptTreeTypeCom(@RequestBody @Validated JudgeDeptTreeTypeComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeDeptTreeTypeCom(reqDTO));
    }
/**
   * D3执行统一管理部门批次相关处理(公共)
   */
    @PostMapping("implementUnifiedMgtDeptBatchHandleCom")
    public OkrResult<ImplementUnifiedMgtDeptBatchHandleComRespDto> implementUnifiedMgtDeptBatchHandleCom(@RequestBody @Validated ImplementUnifiedMgtDeptBatchHandleComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementUnifiedMgtDeptBatchHandleCom(reqDTO));
    }
/**
   * D3执行判断变更分工策略(公共)
   */
    @PostMapping("implementJudgeDivisionStrategyCom")
    public OkrResult<ImplementJudgeDivisionStrategyComRespDto> implementJudgeDivisionStrategyCom(@RequestBody @Validated ImplementJudgeDivisionStrategyComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementJudgeDivisionStrategyCom(reqDTO));
    }
/**
   * D3执行循环变更分工策略处理(公共)
   */
    @PostMapping("implementLoopDivisionStrategyHandleCom")
    public OkrResult<ImplementLoopDivisionStrategyHandleComRespDto> implementLoopDivisionStrategyHandleCom(@RequestBody @Validated ImplementLoopDivisionStrategyHandleComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementLoopDivisionStrategyHandleCom(reqDTO));
    }
/**
   * D3执行变更分工策略处理(公共)
   */
    @PostMapping("implementDivisionStrategyHandleCom")
    public OkrResult<ImplementDivisionStrategyHandleComRespDto> implementDivisionStrategyHandleCom(@RequestBody @Validated ImplementDivisionStrategyHandleComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementDivisionStrategyHandleCom(reqDTO));
    }
/**
   * D3判断变更高层分工策略(公共)
   */
    @PostMapping("judgeDivisionTopStrategyCom")
    public OkrResult<JudgeDivisionTopStrategyComRespDto> judgeDivisionTopStrategyCom(@RequestBody @Validated JudgeDivisionTopStrategyComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeDivisionTopStrategyCom(reqDTO));
    }
/**
   * D3修订指标目标周期名称
   */
    @PostMapping("reviseTargetCycleName")
    public OkrResult<ReviseTargetCycleNameRespDto> reviseTargetCycleName(@RequestBody @Validated ReviseTargetCycleNameReqDto reqDTO){
    return OkrResult.success(evaSystemService.reviseTargetCycleName(reqDTO));
    }
/**
   * D3批量回写指标简称名称(公共)
   */
    @PostMapping("batchWriteBackTargetShortNameCom")
    public OkrResult<BatchWriteBackTargetShortNameComRespDto> batchWriteBackTargetShortNameCom(@RequestBody @Validated BatchWriteBackTargetShortNameComReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchWriteBackTargetShortNameCom(reqDTO));
    }
/**
   * D3修订权重及分
   */
    @PostMapping("reviseWeightOrBranch")
    public OkrResult<ReviseWeightOrBranchRespDto> reviseWeightOrBranch(@RequestBody @Validated ReviseWeightOrBranchReqDto reqDTO){
    return OkrResult.success(evaSystemService.reviseWeightOrBranch(reqDTO));
    }
/**
   * D3修订指标目标或诊断值(公共)
   */
    @PostMapping("reviseTargetOrDiagnosticValueCom")
    public OkrResult<ReviseTargetOrDiagnosticValueComRespDto> reviseTargetOrDiagnosticValueCom(@RequestBody @Validated ReviseTargetOrDiagnosticValueComReqDto reqDTO){
    return OkrResult.success(evaSystemService.reviseTargetOrDiagnosticValueCom(reqDTO));
    }
/**
   * D3执行诊断及修订指标目标或诊断值
   */
    @PostMapping("implementDiagnoseReviseTargetOrDiagnosticValue")
    public OkrResult<ImplementDiagnoseReviseTargetOrDiagnosticValueRespDto> implementDiagnoseReviseTargetOrDiagnosticValue(@RequestBody @Validated ImplementDiagnoseReviseTargetOrDiagnosticValueReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementDiagnoseReviseTargetOrDiagnosticValue(reqDTO));
    }
/**
   * D3判断修订目标内容相关数据(公共)
   */
    @PostMapping("judgeReviseTargetDataCom")
    public OkrResult<JudgeReviseTargetDataComRespDto> judgeReviseTargetDataCom(@RequestBody @Validated JudgeReviseTargetDataComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeReviseTargetDataCom(reqDTO));
    }
/**
   * D3批量撤销修订指标相关数据
   */
    @PostMapping("batchUndoReviseTargetData")
    public OkrResult<BatchUndoReviseTargetDataRespDto> batchUndoReviseTargetData(@RequestBody @Validated BatchUndoReviseTargetDataReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchUndoReviseTargetData(reqDTO));
    }
/**
   * D3判断目标内容是否存在修订
   */
    @PostMapping("judgeTargetIsReviseData")
    public OkrResult<JudgeTargetIsReviseDataRespDto> judgeTargetIsReviseData(@RequestBody @Validated JudgeTargetIsReviseDataReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeTargetIsReviseData(reqDTO));
    }
/**
   * D3查询下级目标内容及周期列表
   */
    @PostMapping("querySubordinateTargetContentCycleList")
    public OkrResult<QuerySubordinateTargetContentCycleListRespDto> querySubordinateTargetContentCycleList(@RequestBody @Validated QuerySubordinateTargetContentCycleListReqDto reqDTO){
    return OkrResult.success(evaSystemService.querySubordinateTargetContentCycleList(reqDTO));
    }
/**
   * D3-3查询部门目标任务书权重列表
   */
    @PostMapping("queryDeptObjMisStaWeightList")
    public OkrResult<QueryDeptObjMisStaWeightListRespDto> queryDeptObjMisStaWeightList(@RequestBody @Validated QueryDeptObjMisStaWeightListReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryDeptObjMisStaWeightList(reqDTO));
    }
/**
   * D3判断一二级指标目标周期(公共)
   */
    @PostMapping("judgeOneTwoTargetCycleCom")
    public OkrResult<JudgeOneTwoTargetCycleComRespDto> judgeOneTwoTargetCycleCom(@RequestBody @Validated JudgeOneTwoTargetCycleComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeOneTwoTargetCycleCom(reqDTO));
    }
/**
   * D3-3批量查询设置建设任务权重(公共)
   */
    @PostMapping("batchQuerySetConstructionTaskWeightCom")
    public OkrResult<BatchQuerySetConstructionTaskWeightComRespDto> batchQuerySetConstructionTaskWeightCom(@RequestBody @Validated BatchQuerySetConstructionTaskWeightComReqDto reqDTO){
    return OkrResult.success(evaSystemService.batchQuerySetConstructionTaskWeightCom(reqDTO));
    }
/**
   * D3查询权重融合目标内容列表(公共)
   */
    @PostMapping("queryWeightFusionTargetContentListCom")
    public OkrResult<QueryWeightFusionTargetContentListComRespDto> queryWeightFusionTargetContentListCom(@RequestBody @Validated QueryWeightFusionTargetContentListComReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryWeightFusionTargetContentListCom(reqDTO));
    }
/**
   * D3执行分离并修改权重(公共)
   */
    @PostMapping("implementDetachAndModifyWeightsCom")
    public OkrResult<ImplementDetachAndModifyWeightsComRespDto> implementDetachAndModifyWeightsCom(@RequestBody @Validated ImplementDetachAndModifyWeightsComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementDetachAndModifyWeightsCom(reqDTO));
    }
/**
   * D3-查询汇报任务归属评价模板列表(公共)
   */
    @PostMapping("queryTaskReportEvaTempListCom")
    public OkrResult<QueryTaskReportEvaTempListComRespDto> queryTaskReportEvaTempListCom(@RequestBody @Validated QueryTaskReportEvaTempListComReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryTaskReportEvaTempListCom(reqDTO));
    }
/**
   * D3判断评价数据是否可见(公共)
   */
    @PostMapping("judgeEvaDataIsVisibleCom")
    public OkrResult<JudgeEvaDataIsVisibleComRespDto> judgeEvaDataIsVisibleCom(@RequestBody @Validated JudgeEvaDataIsVisibleComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeEvaDataIsVisibleCom(reqDTO));
    }
/**
   * D3判断目标内容是否可评价(公共)
   */
    @PostMapping("judgeTargetContentIsEvaCom")
    public OkrResult<JudgeTargetContentIsEvaComRespDto> judgeTargetContentIsEvaCom(@RequestBody @Validated JudgeTargetContentIsEvaComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeTargetContentIsEvaCom(reqDTO));
    }
/**
   * D3执行负责人角色标识转换(公共)
   */
    @PostMapping("implementPersonChargeRoleConversionCom")
    public OkrResult<ImplementPersonChargeRoleConversionComRespDto> implementPersonChargeRoleConversionCom(@RequestBody @Validated ImplementPersonChargeRoleConversionComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementPersonChargeRoleConversionCom(reqDTO));
    }
/**
   * D3-判断当前评价人是否完成该目标内容评价(公共)
   */
    @PostMapping("judgeAppraiserIsDoneTargetContentEvaCom")
    public OkrResult<JudgeAppraiserIsDoneTargetContentEvaComRespDto> judgeAppraiserIsDoneTargetContentEvaCom(@RequestBody @Validated JudgeAppraiserIsDoneTargetContentEvaComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeAppraiserIsDoneTargetContentEvaCom(reqDTO));
    }
/**
   * D3-查询评价模板列表(公共)
   */
    @PostMapping("queryEvaluationTemplateListCom")
    public OkrResult<QueryEvaluationTemplateListComRespDto> queryEvaluationTemplateListCom(@RequestBody @Validated QueryEvaluationTemplateListComReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryEvaluationTemplateListCom(reqDTO));
    }
/**
   * D3执行同时编辑的授权对象数校验(公共)
   */
    @PostMapping("implementSimultaneouslyCanEditObjNumValidityCom")
    public OkrResult<ImplementSimultaneouslyCanEditObjNumValidityComRespDto> implementSimultaneouslyCanEditObjNumValidityCom(@RequestBody @Validated ImplementSimultaneouslyCanEditObjNumValidityComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementSimultaneouslyCanEditObjNumValidityCom(reqDTO));
    }
/**
   * D3执行批次统一管理的部门垃圾分类(公共)
   */
    @PostMapping("implementBatchUnifiedMgtDeptGarbageSortCom")
    public OkrResult<ImplementBatchUnifiedMgtDeptGarbageSortComRespDto> implementBatchUnifiedMgtDeptGarbageSortCom(@RequestBody @Validated ImplementBatchUnifiedMgtDeptGarbageSortComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementBatchUnifiedMgtDeptGarbageSortCom(reqDTO));
    }
/**
   * D3执行高中基层回退导向步骤房间分析
   */
    @PostMapping("implementTopMidBasicRollBackGuideStepRoomCom")
    public OkrResult<ImplementTopMidBasicRollBackGuideStepRoomComRespDto> implementTopMidBasicRollBackGuideStepRoomCom(@RequestBody @Validated ImplementTopMidBasicRollBackGuideStepRoomComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementTopMidBasicRollBackGuideStepRoomCom(reqDTO));
    }
/**
   * D3-判断目标内容是否可提交评价(公共)
   */
    @PostMapping("judgeTargetContentIsComEvaCom")
    public OkrResult<JudgeTargetContentIsComEvaComRespDto> judgeTargetContentIsComEvaCom(@RequestBody @Validated JudgeTargetContentIsComEvaComReqDto reqDTO){
    return OkrResult.success(evaSystemService.judgeTargetContentIsComEvaCom(reqDTO));
    }
/**
   * D3执行统一管理部门批次等处理(公共)
   */
    @PostMapping("implementUnifiedMgtDeptBatchEtcDisposeCom")
    public OkrResult<ImplementUnifiedMgtDeptBatchEtcDisposeComRespDto> implementUnifiedMgtDeptBatchEtcDisposeCom(@RequestBody @Validated ImplementUnifiedMgtDeptBatchEtcDisposeComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementUnifiedMgtDeptBatchEtcDisposeCom(reqDTO));
    }
/**
   * D2查询加入工作组目标周期导航列表
   */
    @PostMapping("queryJoinGroupPlanTargetCycleMenuList")
    public OkrResult<QueryJoinGroupPlanTargetCycleMenuListRespDto> queryJoinGroupPlanTargetCycleMenuList(@RequestBody @Validated QueryJoinGroupPlanTargetCycleMenuListReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryJoinGroupPlanTargetCycleMenuList(reqDTO));
    }
/**
   * D3查询高层规划目标周期导航列表
   */
    @PostMapping("queryTopPlanTargetCycleMenuList")
    public OkrResult<QueryTopPlanTargetCycleMenuListRespDto> queryTopPlanTargetCycleMenuList(@RequestBody @Validated QueryTopPlanTargetCycleMenuListReqDto reqDTO){
    return OkrResult.success(evaSystemService.queryTopPlanTargetCycleMenuList(reqDTO));
    }
/**
   * D3执行中层步骤对应房间分析(公共)
   */
    @PostMapping("implementMidStepSocietyRoomAnalyseCom")
    public OkrResult<ImplementMidStepSocietyRoomAnalyseComRespDto> implementMidStepSocietyRoomAnalyseCom(@RequestBody @Validated ImplementMidStepSocietyRoomAnalyseComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementMidStepSocietyRoomAnalyseCom(reqDTO));
    }
/**
   * D3中层目标分工房间返回判断
   */
    @PostMapping("implementMidTargetDivRoomReturnJudge")
    public OkrResult<ImplementMidTargetDivRoomReturnJudgeRespDto> implementMidTargetDivRoomReturnJudge(@RequestBody @Validated ImplementMidTargetDivRoomReturnJudgeReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementMidTargetDivRoomReturnJudge(reqDTO));
    }
/**
   * D3分析中层房间对应指标层级(公共)
   */
    @PostMapping("implementAnalyseMidRoomMatchObjtiveTierCom")
    public OkrResult<ImplementAnalyseMidRoomMatchObjtiveTierComRespDto> implementAnalyseMidRoomMatchObjtiveTierCom(@RequestBody @Validated ImplementAnalyseMidRoomMatchObjtiveTierComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementAnalyseMidRoomMatchObjtiveTierCom(reqDTO));
    }
/**
   * D3执行新增批次导向步骤房间(公共)
   */
    @PostMapping("implementAddBatchGuideStepRoomCom")
    public OkrResult<ImplementAddBatchGuideStepRoomComRespDto> implementAddBatchGuideStepRoomCom(@RequestBody @Validated ImplementAddBatchGuideStepRoomComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementAddBatchGuideStepRoomCom(reqDTO));
    }
/**
   * D3执行中基层修订开门(公共)
   */
    @PostMapping("implementMidBasicReviseOpenDoorCom")
    public OkrResult<ImplementMidBasicReviseOpenDoorComRespDto> implementMidBasicReviseOpenDoorCom(@RequestBody @Validated ImplementMidBasicReviseOpenDoorComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementMidBasicReviseOpenDoorCom(reqDTO));
    }
/**
   * D3执行高中基层导向步骤房间
   */
    @PostMapping("implementTopMidBasicGuideStepRoom")
    public OkrResult<ImplementTopMidBasicGuideStepRoomRespDto> implementTopMidBasicGuideStepRoom(@RequestBody @Validated ImplementTopMidBasicGuideStepRoomReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementTopMidBasicGuideStepRoom(reqDTO));
    }
/**
   * D3-执行目标内容是否可审核(公共)
   */
    @PostMapping("implementTargetContentIsExaCom")
    public OkrResult<ImplementTargetContentIsExaComRespDto> implementTargetContentIsExaCom(@RequestBody @Validated ImplementTargetContentIsExaComReqDto reqDTO){
    return OkrResult.success(evaSystemService.implementTargetContentIsExaCom(reqDTO));
    }
/**
   * D3-3查绩效对象目标分类分组列表(边界)
   */
    @PostMapping("queryPerfObjTarGroupClassListBorder")
    public OkrResult<QueryPerfObjTarGroupClassListBorderRespDto> queryPerfObjTarGroupClassListBorder(@RequestBody @Validated QueryPerfObjTarGroupClassListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryPerfObjTarGroupClassListBorderRespDto retData = evaSystemService.queryPerfObjTarGroupClassListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
/**
   * D3-3查绩效对象评价指标分组列表(边界)
   */
    @PostMapping("queryPerfObjEvaTargetClassListBorder")
    public OkrResult<QueryPerfObjEvaTargetClassListBorderRespDto> queryPerfObjEvaTargetClassListBorder(@RequestBody @Validated QueryPerfObjEvaTargetClassListBorderReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryPerfObjEvaTargetClassListBorderRespDto retData = evaSystemService.queryPerfObjEvaTargetClassListBorder(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
///**
//   * D3-3查绩效对象目标分类分组列表(边界)
//   */
//    @PostMapping("queryPerfObjTarGroupClassListBorder")
//    public OkrResult<QueryPerfObjTarGroupClassListBorderRespDto> queryPerfObjTarGroupClassListBorder(@RequestBody @Validated QueryPerfObjTarGroupClassListBorderReqDto reqDTO){
//    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());
//
//        QueryPerfObjTarGroupClassListBorderRespDto retData = evaSystemService.queryPerfObjTarGroupClassListBorder(reqDTO);
//
//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
//        return OkrResult.success(retData);
//
//    }
///**
//   * D3-3查绩效对象评价指标分组列表(边界)
//   */
//    @PostMapping("queryPerfObjEvaTargetClassListBorder")
//    public OkrResult<QueryPerfObjEvaTargetClassListBorderRespDto> queryPerfObjEvaTargetClassListBorder(@RequestBody @Validated QueryPerfObjEvaTargetClassListBorderReqDto reqDTO){
//    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());
//
//        QueryPerfObjEvaTargetClassListBorderRespDto retData = evaSystemService.queryPerfObjEvaTargetClassListBorder(reqDTO);
//
//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
//        return OkrResult.success(retData);
//
//    }
///**
//   * 判断中层第1步牵头目标安排(公共)
//   */
//    @PostMapping("judgeMidFirstLeadTargetArrangeCom")
//    public OkrResult<JudgeMidFirstLeadTargetArrangeComRespDto> judgeMidFirstLeadTargetArrangeCom(@RequestBody @Validated JudgeMidFirstLeadTargetArrangeComReqDto reqDTO){
//    return OkrResult.success(evaSystemService.judgeMidFirstLeadTargetArrangeCom(reqDTO));
//    }
///**
//   * D3-3查询绩效规划模板管理权限
//   */
//    @PostMapping("queryPlanKpiTempMgtPowerDetail")
//    public OkrResult<QueryPlanKpiTempMgtPowerDetailRespDto> queryPlanKpiTempMgtPowerDetail(@RequestBody @Validated QueryPlanKpiTempMgtPowerDetailReqDto reqDTO){
//    return OkrResult.success(evaSystemService.queryPlanKpiTempMgtPowerDetail(reqDTO));
//    }
}
